package com.ygqh.baby.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgOrderExt;
import com.ygqh.baby.po.YgOrderExtExample;

public interface YgOrderExtMapper {
	int countByExample(YgOrderExtExample example);

	int deleteByExample(YgOrderExtExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgOrderExt record);

	int insertSelective(YgOrderExt record);

	List<YgOrderExt> selectByExample(YgOrderExtExample example);

	YgOrderExt selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgOrderExt record, @Param("example") YgOrderExtExample example);

	int updateByExample(@Param("record") YgOrderExt record, @Param("example") YgOrderExtExample example);

	int updateByPrimaryKeySelective(YgOrderExt record);

	int updateByPrimaryKey(YgOrderExt record);

	int countSuper(@Param("q") String q);

	List<YgOrderExt> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	List<Long> notSendCompleteOrder(@Param("orderIds") Long... orderIds);

}
